home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000181_news@watsun.cc.columbia.edu _Tue Feb 2 13:20:30 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id NAA29603
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Tue, 2 Feb 1999 13:20:26 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id NAA08524
  7.     for kermit.misc@watsun.cc.columbia.edu; Tue, 2 Feb 1999 13:07:32 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: Janko Dimitroff <janko@cs.tu-berlin.de>
  10. Subject: Serial Line
  11. Date: 2 Feb 1999 18:07:11 GMT
  12. Organization: Technical University of Berlin, Germany
  13. Message-ID: <797esf$k18$1@news.cs.tu-berlin.de>
  14. To: kermit.misc@mailrelay2.cc.columbia.edu
  15.  
  16. I have a problem using kermit.
  17. I want to communicate with a device which is plugged in the serial line.
  18. I wrote a script which is able to establish a connection to the device.
  19. Now the device sends data. How can I check these data, read it to variables 
  20. and so on.
  21. I want to send data to the device if a string containing a special substring
  22. was received by the computer. 
  23. On account of the fact that I do not know exactly what data (only a substring) comes in I can not use INPUT or MINPUT. 
  24. Can I just wait for \n ?
  25. How is data handled by INPUT/MINPUT if it does not match with the given text ?
  26.  
  27. You understood my problem hopefully and have a solution.
  28. If so, I'd be glad if you send it to me.
  29.  
  30. mail to: 
  31. jadi@gfz-potsdam.de 
  32.